package com.mmall.service;

import com.mmall.common.ServerResponse;
import com.mmall.pojo.Category;
import com.sun.tools.javac.util.List;

/**
 * Created by liuzhu on 2018/10/13.
 */
public interface ICategoryService {

    ServerResponse addCategory(String categoryName, Integer parentId);
    ServerResponse updateCategoryName(Integer categoryId,String categoryName);
    ServerResponse<java.util.List<Category>> getChildrenParallelCategory(Integer categoryId);
    ServerResponse<java.util.List<Integer>>  selecCategoryAndChildrenById(Integer categoryId);
}
